package com.mervin.patterns.factory.abstractfactory;

import com.mervin.patterns.factory.Fruit;

/***************************************
 * @Auther: mervin
 * @Date: 2020-04-17 00:41
 * @Description: 南方产品族工厂类
 ***************************************/
public class NorthernCreateFactory implements CreateFactory {

    @Override
    public IFruit createFruit() {
        return new NorthernFruit("南方水果");
    }

    @Override
    public IVeggie createVeggie() {
        return new NorthernVeggie("南方蔬菜");
    }
}
